package cn.com.yunhe.bean;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wjt
 * @since 2019-01-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CCarPic implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "cpid", type = IdType.AUTO)
    private Integer cpid;

    /**
     * 图片位置0表示外饰1表示内饰
     */
    private Integer buwei;

    /**
     * 图片
     */
    private String cpic;

    /**
     * 车辆id
     */
    private String cId;

    /**
     * 是否封面0表示否1表示是
     */
    private Integer isFirst;

    /**
     * 备用
     */
    private String cpBy;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getCpid() {
        return cpid;
    }

    public void setCpid(Integer cpid) {
        this.cpid = cpid;
    }

    public Integer getBuwei() {
        return buwei;
    }

    public void setBuwei(Integer buwei) {
        this.buwei = buwei;
    }

    public String getCpic() {
        return cpic;
    }

    public void setCpic(String cpic) {
        this.cpic = cpic;
    }

    public String getcId() {
        return cId;
    }

    public void setcId(String cId) {
        this.cId = cId;
    }

    public Integer getIsFirst() {
        return isFirst;
    }

    public void setIsFirst(Integer isFirst) {
        this.isFirst = isFirst;
    }

    public String getCpBy() {
        return cpBy;
    }

    public void setCpBy(String cpBy) {
        this.cpBy = cpBy;
    }
}
